package com.example.study.controller;


import com.example.study.entity.Result;
import com.example.study.service.SceneryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 喜欢多云的季节
 * @since 2022-04-20
 */
@RestController
@RequestMapping("/study/scenery")
public class SceneryController {
    @Autowired
    private SceneryService sceneryService;
    @GetMapping("selectTypeC")
    public Result select(){
        return sceneryService.selectTypeC();
    }
}

